use actix_web::web::{self, ServiceConfig};


mod pro;
mod hex;


pub fn register(cfg: &mut ServiceConfig) {
    let scope = web::scope("/api")
    .configure(pro::register)
    .configure(hex::register);

    cfg.service(scope);
}


